//
//  NoteMode.h
//  DogeLegs
//
//  Created by 宋华 on 2017/8/19.
//  Copyright © 2017年 宋华. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NoteMode : NSObject <NSCoding>

@property (nonatomic,strong)UserMode *userMode;

@property (nonatomic,strong)NSString *price;

@property (nonatomic,strong)NSString *noteDate;

@property (nonatomic,strong)NSString *noteDateStr;

@property (nonatomic,strong)NSString *noteTitle;

@property (nonatomic,strong)NSString *noteContent;

@property (nonatomic,strong)NSArray *noteImages;

@property (nonatomic,strong)NSString *notecateory;


@property (nonatomic,strong)NSString * likeCount;

@property (nonatomic,strong)NSString *dicussionCount;

@property (nonatomic,assign)CGFloat noteCellHeight;

@property (nonatomic,assign)CGFloat imageScrollOffsetX;

//带💲符号的价格
- (NSString *)doallorPrice;
// Discussion 22 类似这种
- (NSString *)dicusCountStr;
// Like 12 类似这种
- (NSString *)likeCountStr;

+ (NSMutableArray *)noteModeFromData:(NSArray *)dataArr;

+ (NoteMode *)noteModeFromDict:(NSDictionary *)dataDict;



@end
